package com.dwd.org.pojo;

import com.dwd.basic.pojo.BaseBean;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @Description: TODO
 * @Author 汶狄
 * @Date 2021/1/15 10:50
 * @Version 1.0
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class Shop extends BaseBean {
    /**
     * 店铺名
     */
    private String name;
    /**
     * 电话
     */
    private String tel;
    /**
     * 注册时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date registerTime = new Date();
    /**
     * 状态  0 待审核  1 待激活  2 正常  -1 驳回
     */
    private int state = 0;
    /**
     * 地址
     */
    private String address;
    /**
     * 公司logo
     */
    private String logo;
    /**
     * 店主信息
     */
    private Employee admin;
}
